6943d5973525db04ef1923ea4311dfb50cf6f221,src/robotbuilder/exporters/GenericExporter.java,GenericExporter,getContext,#RobotComponent#,202
Before Change
context.put("ClassName", instructions.get("ClassName"));
context.put("Name", comp.getFullName());
context.put("Short_Name", comp.getName());
context.put("Subsystem", comp.getSubsystem());
context.put("Component", comp);
for (String property : comp.getPropertyKeys()) {
context.put(property.replace(" ", "_").replace("(", "").replace(")", ""),
After Change
context.put("ClassName", instructions.get("ClassName"));
context.put("Name", comp.getFullName());
context.put("Short_Name", comp.getName());
context.put("Subsystem", comp.getSubsystem().substring(0, comp.getSubsystem().length()-1));
context.put("Component", comp);
for (String property : comp.getPropertyKeys()) {
context.put(property.replace(" ", "_").replace("(", "").replace(")", ""),